package org.tgit.gateway.domain;

import java.io.Serializable;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
/**
 * 
* @ClassName: User   
* @Description: TODO(用户实体)   
* @author fanzaijun 
* @date 2018年8月20日 下午6:16:56   
*
 */
public class User implements Serializable {
	/** @Fields Administrator: TODO2018年8月20日下午6:16:49*/  
	
	private static final long serialVersionUID = -6144403441128845998L;
	@Min(1)
	private long id;
	@NotEmpty
	private String name;
	@Min(20)
	private int age;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	
}
